package cn.yh.hospitalappointmentsystemdemo.mapper;

import cn.yh.hospitalappointmentsystemdemo.domain.entity.User;
import cn.yh.hospitalappointmentsystemdemo.domain.vo.PatientVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository

public interface PatientsMapper {
    User loginByUsername(@Param("username") String username);

    PatientVo selectById(@Param("patientId") Long patientId);
}
